package com.wwj.study.singleton.lazy;

/**
 * Created by lenovo on 2018/11/15.
 */
public class LazyTwo {

    private static LazyTwo lazyTwo=null;

    public static synchronized LazyTwo getInstance(){
        if(lazyTwo==null){
            lazyTwo=new LazyTwo();
        }
        return lazyTwo;
    }
}
